<div class="bg-light lter b-b wrapper-md ng-scope">
    <h4 class="m-n font-thin">分润管理</h4>
</div>

<div class="wrapper-md ng-scope" ng-controller="profitSettingCtrl">

    <script type="text/ng-template" id="agentAreaAdd.html">
        <div ng-include="'tpl/agent/agent_area_add.html'"></div>
    </script>

    <div class="row">
        <div class="col-sm-4" ng-repeat="s in settings">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <div class="clearfix">
                        <a href class="pull-left thumb-md avatar b-3x m-r">
                            {{s.name}}
                        </a>
                        <span class="text-right" style="color: #d4d4d4; float: right">
                            点击列表即可修改
                        </span>
                    </div>
                </div>
                <div class="list-group no-radius alt">
                    <a class="list-group-item" href ng-repeat="t in s.types" ng-click="openEdit(t.level, t.type, s.name +' - '+ t.description)">
                        <span class="badge bg-success" ng-if="t.ratio > 0">{{t.ratio}} %</span>
                        <span class="badge bg-light" ng-if="t.ratio <= 0">{{t.ratio}} %</span>
                        {{t.description}}
                    </a>
                </div>
            </div>
        </div>
    </div>
</div>